_iiii_ssss_eeee_nnnn_cccc_rrrr_yyyy_pppp_tttt uses heuristics to determine whether a buffer of characters is
encrypted. It requires two arguments: a pointer to an array of
characters and the number of characters in the buffer.
_iiii_ssss_eeee_nnnn_cccc_rrrr_yyyy_pppp_tttt assumes that the file is not encrypted if all the characters in
the first block are ASCII characters. If there are non-ASCII characters
in the first _n_i_n_b_u_f characters, _iiii_ssss_eeee_nnnn_cccc_rrrr_yyyy_pppp_tttt assumes that the buffer is
encrypted if the _ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE category is set to _CCCC or _aaaa_ssss_cccc_iiii_iiii.
If the _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE category is set to a value other than _CCCC or _aaaa_ssss_cccc_iiii_iiii, then
_iiii_ssss_eeee_nnnn_cccc_rrrr_yyyy_pppp_tttt uses a combination of heuristics to determine if the buffer is
encrypted. If _n_i_n_b_u_f has at least 64 characters, a chi-square test is
used to determine if the bytes in the buffer have a uniform distribution;
and _iiii_ssss_eeee_nnnn_cccc_rrrr_yyyy_pppp_tttt assumes the buffer is encrypted if it does. If the buffer
has less than 64 characters, a check is made for null characters and a
terminating new-line to determine whether the buffer is encrypted.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
If the buffer is encrypted, 1 is returned; otherwise zero is returned.